﻿using System;
using System.ComponentModel;
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    public class TopAddressResult : BaseObject
    {
        //begin
        public TopAddressResult(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _ContactId;
        [Size(SizeAttribute.Unlimited)]
        public string ContactId
        {
            get
            {
                return _ContactId;
            }
            set
            {
                SetPropertyValue("ContactId", ref _ContactId, value);
            }
        }
        private string _ContactName;
        [Size(SizeAttribute.Unlimited)]
        public string ContactName
        {
            get
            {
                return _ContactName;
            }
            set
            {
                SetPropertyValue("ContactName", ref _ContactName, value);
            }
        }
        private string _Province;
        [Size(SizeAttribute.Unlimited)]
        public string Province
        {
            get
            {
                return _Province;
            }
            set
            {
                SetPropertyValue("Province", ref _Province, value);
            }
        }
        private string _City;
        [Size(SizeAttribute.Unlimited)]
        public string City
        {
            get
            {
                return _City;
            }
            set
            {
                SetPropertyValue("City", ref _City, value);
            }
        }
        private string _Country;
        [Size(SizeAttribute.Unlimited)]
        public string Country
        {
            get
            {
                return _Country;
            }
            set
            {
                SetPropertyValue("Country", ref _Country, value);
            }
        }
        private string _Addr;
        [Size(SizeAttribute.Unlimited)]
        public string Addr
        {
            get
            {
                return _Addr;
            }
            set
            {
                SetPropertyValue("Addr", ref _Addr, value);
            }
        }
        private string _ZipCode;
        [Size(SizeAttribute.Unlimited)]
        public string ZipCode
        {
            get
            {
                return _ZipCode;
            }
            set
            {
                SetPropertyValue("ZipCode", ref _ZipCode, value);
            }
        }
        private string _Phone;
        [Size(SizeAttribute.Unlimited)]
        public string Phone
        {
            get
            {
                return _Phone;
            }
            set
            {
                SetPropertyValue("Phone", ref _Phone, value);
            }
        }
        private string _MobilePhone;
        [Size(SizeAttribute.Unlimited)]
        public string MobilePhone
        {
            get
            {
                return _MobilePhone;
            }
            set
            {
                SetPropertyValue("MobilePhone", ref _MobilePhone, value);
            }
        }
        private string _SellerCompany;
        [Size(SizeAttribute.Unlimited)]
        public string SellerCompany
        {
            get
            {
                return _SellerCompany;
            }
            set
            {
                SetPropertyValue("SellerCompany", ref _SellerCompany, value);
            }
        }
        private string _Memo;
        [Size(SizeAttribute.Unlimited)]
        public string Memo
        {
            get
            {
                return _Memo;
            }
            set
            {
                SetPropertyValue("Memo", ref _Memo, value);
            }
        }
        private string _AreaId;
        [Size(SizeAttribute.Unlimited)]
        public string AreaId
        {
            get
            {
                return _AreaId;
            }
            set
            {
                SetPropertyValue("AreaId", ref _AreaId, value);
            }
        }
        private bool _SendDef;
        public bool SendDef
        {
            get
            {
                return _SendDef;
            }
            set
            {
                SetPropertyValue("SendDef", ref _SendDef, value);
            }
        }
        private bool _GetDef;
        public bool GetDef
        {
            get
            {
                return _GetDef;
            }
            set
            {
                SetPropertyValue("GetDef", ref _GetDef, value);
            }
        }
        private bool _CancelDef;
        public bool CancelDef
        {
            get
            {
                return _CancelDef;
            }
            set
            {
                SetPropertyValue("CancelDef", ref _CancelDef, value);
            }
        }
        private DateTime _ModifyDate;
        public DateTime ModifyDate
        {
            get
            {
                return _ModifyDate;
            }
            set
            {
                SetPropertyValue("ModifyDate", ref _ModifyDate, value);
            }
        }
        //end
    }
}
